import request from '@/utils/request'
export function storeList(data) {
  return request({
    url: '/api/org/index',
    method: 'post',
    data
  })
}
export function synchronization(data) {
  return request({
    url: '/api/org/import',
    method: 'post',
    data
  })
}

export function insertorg(data) {
  return request({
    url: '/api/org/insertorg',
    method: 'post',
    data
  })
}

export function updateorg(data) {
  return request({
    url: '/api/org/updateorg',
    method: 'post',
    data
  })
}

export function delorg(data) {
  return request({
    url: '/api/org/delorg',
    method: 'post',
    data
  })
}

export function detailorg(data) {
  return request({
    url: '/api/org/detailorg',
    method: 'post',
    data
  })
}

export function optOpenStatusOrg(data) {
  return request({
    url: '/api/org/optOpenStatusOrg',
    method: 'post',
    data
  })
}
